using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel.Design;

namespace Srvtools
{
    internal partial class InfoDataSetEditorDialog : Form
    {
        private IDesignerHost DesignerHost;
        public InfoDataSetEditorDialog(IDesignerHost designerHost)
        {
            InitializeComponent();
            DesignerHost = designerHost;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }

    internal class InfoDataSetEditor : ComponentDesigner
    {
        public override void DoDefaultAction()
        {
            InfoDataSetEditorDialog dialog =
                new InfoDataSetEditorDialog(this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            dialog.ShowDialog();
        }
    }
}